package com.benshou.bsoa.dto.xinchou.req;

import lombok.Data;

import java.util.List;

/*
 * 薪酬档案请求参数
 */
@Data
public class SalaryArchiveRequest {
    private String apiCode;
    private Params params;

    public SalaryArchiveRequest(List<Long> employeeIdList, int pageSize, int pageNum) {
        this.params = new Params(employeeIdList, pageSize, pageNum);
    }
    public SalaryArchiveRequest() {
        // 默认构造函数
    }

    @Data
    public static class Params {
        private List<Long> employeeIdList;
        private int pageSize;
        private int pageNum;

        public Params(List<Long> employeeIdList, int pageSize, int pageNum) {
            this.employeeIdList = employeeIdList;
            this.pageSize = pageSize;
            this.pageNum = pageNum;
        }
    }
}
